<!-- 引入公共部分 -->
{{extend './layout.html'}}

{{block 'link'}}
<!-- 添加css链接 -->
<link rel="stylesheet" href="/static/admin/css/usersRecordBrowse.css">
{{/block}}

<!-- body代码 -->
{{block 'main'}}
    <!-- 头部导航代码 -->
    {{include './header.html'}}
    <div class="banner">
        <div class="left">
            <!-- 侧边栏 -->
            {{include './aside.html'}}
        </div>
        <div class="right" id="findByBrowse" name={{info}}>
            <div class="nav">
                <i class="iconfont shouyebeifen"></i>
                <a href="/admin">首页</a>
                <i class="iconfont zuoyoujiantou"></i>
                <a href="/admin/users/usersRecord">用户记录</a>
                <i class="iconfont zuoyoujiantou"></i>
                <a href="/admin/users/usersRecordBrowse">浏览记录详情</a>
               
            </div>
            <div class="wrap clearfix">
                <div class="top">
                    <span>产品名称：</span>
                    <input class="searchInput" type="search" onkeypress="inputEnterFun()" placeholder="请输入商品名称">
                    <button class="btn serrchBtn" onclick="searchByUsername()"><i class="iconfont iconfontzhizuobiaozhun023131"></i> 搜索</button>
                </div>
                <div class="btns">
                    <button class="btn updataBtn"><i class="iconfont shuaxin" onclick="reloadFun()"></i> 刷新</button>
                    <span>每页显示条数</span>
                    <select name="selectNums" id="selectNums" onchange="chooseSizeFun()">
                     <option value="5">5</option>
                     <opt   ion value="10">10</opt>
                     <option value="20">20</option>
                     <option value="50">50</option>
                    </select>
                    <span class="dataNums">5</span>
                </div>
                
                <table class="tableOne" >
                     <thead>
                         <tr>
                             <td>序号</td>
                             <td>用户</td>
                             <td>产品名称</td>
                             <td>展示</td>
                             <td>价格</td>
                             <!-- <td>浏览次数</td> -->
                             <td>月销量</td>
                             <td>最新时间</td>
                         </tr>
                     </thead>
                     <tbody class="tbodyMenu">
                     </tbody>
                 </table>
                 <div class="paging">
                     <span class="pageMessage">第1到5条记录，共5条</span>
                     <button class="btn addBtn" onclick="returnFun()">返回上一步</button>
                     <button class="prev"  onclick="prevFun()">上一页</button>
                     <div class="pages">
                     </div>
                     <button class="next"  onclick="nextFun()">下一页</button>
                     <span>第</span>
                     <input class="searchByPage" type="number" min="1" value="1">
                     <span>页</span>
                     <button onclick="changePageFun()">跳转</button>
                 </div>
              
            </div> 
        </div>
        <!-- 底部信息 -->
        {{include './footer.html'}}
        <div class="covers" onclick="closeFun()"></div>
    </div>
    {{include './tools.html'}}

{{/block}}
{{block 'script'}}
<!-- 添加js代码 -->
<script src="/static/admin/js/usersRecordBrowse.js"></script>
{{/block }}
